﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using HttpCode.Core;


namespace HttpService
{
    public class ReptileService : IReptileService
    {
        public async Task<HttpResults> GetResponseAsync(HttpItems input)
        {
            HttpHelpers httpHelpers = new HttpHelpers();
            HttpItems items = input;
            try
            {
                return await httpHelpers.GetHtmlAsync(items);
            }
            catch (Exception)
            {
                return null;
            }
           
        }

        public void TestDI()
        {
            Console.WriteLine("kookok");
        }
    }
}
